home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / mpatches / mint_h7.txt < prev    next >
Text File  |  1994-08-27  |  23KB  |  658 lines

  1. The MiNT 1.10h7 MegaPatch:  MiNT 1.10 Patches from the MiNT Mailing List
  2. collected by Michael Hohmuth <hohmuth@inf.tu-dresden.de>
  3.  
  4. 21 Jul 1994
  5.  
  6. This is an attempt in helping to re-synchronize the MiNT source tree
  7. between the MiNT Mailing List folks.
  8.  
  9. Please note that these patches are inofficial (but there's some chance
  10. that Atari will incorporate some of these changes into MiNT 1.11).
  11. Also, they're highly experimental:  Some earlier megapatches I distrubuted
  12. are known to break memory protection with Falcons and TTs, and there
  13. are known bugs still waiting to be fixed (see below).
  14.  
  15. Known bugs:
  16.  
  17. o   background jobs write to the terminal instead of being stopped
  18. o   h4 breaks memory protection
  19. o   h6 breaks Rsconf(-2,...)
  20.  
  21. Michael Hohmuth -- Email: hohmuth@inf.tu-dresden.de
  22.  
  23.  
  24. List of patches:  (most recent changes being LAST)
  25.  
  26. **************************************
  27.  
  28. Modified Files:
  29.     bios.c biosfs.c console.c context.spp debug.c dos.c dosdir.c 
  30.     dosfile.c dosmem.c fasttext.c file.h filesys.c intr.spp main.c 
  31.     mem.c nalloc2.c pipefs.c proc.c procfs.c proto.h signal.c 
  32.     syscall.spp timeout.c tosfs.c tty.c unifs.c util.c 
  33. Log Message:
  34. Message-Id: <9402190046.AA00186@jelal.north.de>
  35. Subject: Re: MiNT 1.10 biosfs select() patch
  36. Index: console.c dosfile.c tty.c intr.spp timeout.c
  37.  
  38. Message-Id: <199402172223.AA06552@techfac.TechFak.Uni-Bielefeld.DE>
  39. Subject: MiNT 1.10 biosfs select() patch
  40. Index: biosfs.c
  41.  
  42. Message-Id: <9402190046.AA00186@jelal.north.de>
  43. Subject: Re: MiNT 1.10 biosfs select() patch
  44. Index: fasttext.c debug.c
  45.  
  46. Message-Id: <9402190046.AA00186@jelal.north.de>
  47. Subject: Re: MiNT 1.10 biosfs select() patch
  48. Index: fasttext.c intr.spp
  49.  
  50. Message-Id: <199402171855.AA05725@techfac.TechFak.Uni-Bielefeld.DE>
  51. Subject: MiNT 1.10 /dev/* time stamp patch
  52. Index: dos.c main.c
  53.  
  54. Message-Id: <9402181223.AA06285@topo>
  55. Subject: warnings
  56. Index: dosdir.c
  57.  
  58. Message-Id: <9402180936.AA05169@issan.informatik.uni-dortmund.de>
  59. Subject: MiNT 1.10: bugs in nalloc/nfree/kmalloc
  60. Index: nalloc2.c util.c
  61.  
  62. Message-Id: <9402180939.AA05174@issan.informatik.uni-dortmund.de>
  63. Subject: MiNT 1.10: some optimizations
  64. Index: bios.c biosfs.c context.spp file.h filesys.c intr.spp mem.c
  65.         pipefs.c signal.c syscall.spp tosfs.c unifs.c util.c
  66.  
  67. Message-Id: <9402180941.AA05180@issan.informatik.uni-dortmund.de>
  68. Subject: MiNT 1.10: misc bug fixes
  69. Index: biosfs.c main.c pipefs.c proc.c procfs.c proto.h signal.c
  70.         tosfs.c tty.c unifs.c
  71.  
  72. Message-Id: <9402210933.AA11762@issan.informatik.uni-dortmund.de>
  73. Subject: Re: MiNT 1.10: misc bug fixes
  74. Index: proto.h
  75.  (used __NORETURN instead, from <compiler.h>)
  76.  
  77. Message-Id: <199402241531.KAA22340@terminator.rs.itd.umich.edu>
  78. Subject: mint 1.10: biosfs.c -- bios_getxattr()
  79. Index: biosfs.c
  80.  
  81. Message-Id: <199402270437.XAA29168@terminator.rs.itd.umich.edu>
  82. Subject: Job control fix
  83. Index: tty.c
  84.  
  85. Message-Id: <9402221314.AA11542@math.uni-muenster.de>
  86. Subject: tosfs
  87. Index: bios.c tosfs.c
  88.  (#undef'd INODE_PER_CRC)
  89.  
  90. Message-Id: <9403032044.AA00193@jelal.north.de>
  91. Subject: Re: MInixfs crash ...  try this :)
  92. Index: signal.c dosmem.c proc.c syscall.spp intr.spp
  93.  
  94. Message-Id: <199403041113.GAA22188@terminator.rs.itd.umich.edu>
  95. Subject: mint 1.10: biosfs.c -- bios_getxattr()
  96. Index: biosfs.c
  97.  
  98. Message-Id: <9403080028.AA00992@jelal.north.de>
  99. Subject: disk change crash, more patches
  100. Index: dosmem.c proc.c filesys.c dosdir.c dosfile.c proc.c
  101.  
  102. Message-Id: <9403102051.AA00648@jelal.north.de>
  103. Subject: FA_DELETE fix
  104. Index: tosfs.c
  105.  
  106. Message-Id: <9403150629.AA00350@jelal.north.de>
  107. Subject: control ttys again
  108. Index: dosmem.c biosfs.c
  109.  
  110. Message-Id: <9403201830.AA00594@jelal.north.de>
  111. Subject: more 1.10 patches...
  112. Index: proc.c dosfile.c dosmem.c proc.c dosmem.c
  113.  
  114. **************************************
  115.  
  116. Modified Files:
  117.     dosfile.c 
  118. Log Message:
  119. This makes Fselect interruptible by signals. This feature was present
  120. in MiNT 1.09, but was lost in 1.10.
  121.  
  122. Without this patch inetd and some other programs do not work correctly.
  123.  
  124. **************************************
  125.  
  126. Modified Files:
  127.     dosfile.c 
  128. Log Message:
  129. Different fix for Fselect()
  130.  
  131. **************************************
  132.  
  133. Modified Files:
  134.     file.h tty.c xbios.c 
  135. Log Message:
  136. tty.c, file.h, xbios.c: ++entropy@terminator.rs.itd.umich.edu
  137.         Add a real TIOCSETP (differs from TIOCSETN in that it waits for
  138.         the output buffer to be empty if the device supports TIOCOUTQ.)
  139.         Remove a kludge in rsconf() which is not needed if a real TIOCSETP
  140.         exists.
  141.  
  142. **************************************
  143.  
  144. Modified Files:
  145.     tty.c 
  146. Log Message:
  147. tty.c: ++entropy@terminator.rs.itd.umich.edu
  148.         When the window size for a tty, has changed, send SIGWINCH to the
  149.         foreground process group of the tty.
  150.  
  151. **************************************
  152.  
  153. Modified Files:
  154.     tty.c 
  155. Log Message:
  156. tty.c: ++entropy@terminator.rs.itd.umich.edu
  157.         Do CRMOD input translation only in COOKED mode.
  158.  
  159. **************************************
  160.  
  161. Modified Files:
  162.     signal.c 
  163. Log Message:
  164. uk: give some more information in case of a crash, so that a
  165.     progam which shared text can be debugged better.
  166.  
  167. **************************************
  168.  
  169. Modified Files:
  170.     tosfs.c 
  171. Log Message:
  172. tosfs st_nblocks fix
  173.  
  174. **************************************
  175.  
  176. Modified Files:
  177.     dosmem.c mem.c 
  178. Log Message:
  179. Howard Chu <howard@harry.lloyd.com>:
  180. [...] With this patch, shared-text memory regions
  181. stay in memory even after the last process using the region exits. That way
  182. the region can be used again if the same program is rerun in the future, saving
  183. load time. Unattached shared-text regions are reclaimed in get_region when
  184. memory is running low, so the overall impact shouldn't cause you to run out
  185. of memory any more often than before.
  186.  
  187. **************************************
  188.  
  189. Modified Files:
  190.     dos.c intr.spp proc.c proto.h 
  191. Added Files:
  192.     loadave.h 
  193. Log Message:
  194. [This] is the latest version of my uptime/load average code. This is
  195. effectively a hybrid of the first version and the second, ie it uses the 5ms
  196. interrupt to run a timing loop but runs the main code via the Vertical Blank
  197. Interrupt. (The 5ms code merely counts down to zero from 200 and resets, the
  198. VBI routine monitors the value, if the value increases then it runs the
  199. uptime/load code.)
  200.  
  201. This means that (a) minimal extra overhead is added to the 5ms interrupt
  202. code, and (b) the timing is rock solid, well as good as the 200Hz clock
  203. anyway.
  204.  
  205. **************************************
  206.  
  207. Modified Files:
  208.     dos.c dosdir.c proto.h 
  209. Log Message:
  210. New system call Dxreaddir()
  211.  
  212. **************************************
  213.  
  214. Modified Files:
  215.     dos.c proto.h 
  216. Log Message:
  217. [This] is a patch that implements Pseteuid()/Psetegid(), which are needed
  218. for an nfs daemon to do access checking (and probably for a lot of other
  219. things). So I would like this patch making its way into the next release
  220. of mint.
  221.  
  222. **************************************
  223.  
  224. Modified Files:
  225.     pipefs.c 
  226. Log Message:
  227. The processes waiting on a pipe should not be waked up in pipe_close
  228. unless it is the last close for the fileptr.  There is no real state
  229. change on the pipe, thus cancelling the selects on the pipe is wrong.
  230.  
  231. **************************************
  232.  
  233. Modified Files:
  234.     dosdir.c 
  235. Log Message:
  236. Remove check for read-only files in Fdelete().
  237.  
  238. **************************************
  239.  
  240. Modified Files:
  241.     dosmem.c 
  242. Log Message:
  243. When a process exits both its own and its children's process time
  244. should be added to the parent's children time.  Also the time reported
  245. as resource usage should include the children's time.
  246.  
  247. **************************************
  248.  
  249. Modified Files:
  250.     file.h main.c proc.h proto.h timeout.c 
  251. Log Message:
  252. These are the patches that bring addroottimeout() and cancelroottimeout()
  253. to Mint 1.10.
  254.  
  255. **************************************
  256.  
  257. Modified Files:
  258.     biosfs.c pipefs.c 
  259. Log Message:
  260. I don't see any reason why blksize on biosfs cannot be 1024.  This is
  261. so under SunOS and Linux, and it helps utilities like cp and cat which
  262. uses blksize